package com.itheima.d14_extends_constructor;

public class Demo1super {
    public static void main(String[] args) {
        // 目标：搞清楚子类构造器为什么要调用父类构造器，有啥应用场景。
        Teacher t = new Teacher("张三",19,"java");
        System.out.println(t.getAge() + "的" + t.getName() + "会" + t.getSkill());

        t.show("张三",19,"java");
    }
}

